package cn.zb.zbrhback.auth.service;

import cn.zb.zbrhback.auth.domain.Role;
import cn.zb.zbrhback.auth.domain.RoleQuery;
import cn.zb.zbrhback.basic.service.IBaseService;
import cn.zb.zbrhback.basic.util.MenuDTO;
import cn.zb.zbrhback.basic.util.PageResult;
import cn.zb.zbrhback.basic.util.PermissionDTO;
import cn.zb.zbrhback.basic.util.RoleDTO;

import java.util.List;

public interface IRoleService extends IBaseService<Role> {

    List<String> getSnByRoleId(Long roleId);

    void saveRolePermission(PermissionDTO permissionDTO);

    List<Long> getRoleMenuById(Long id);

    void saveMenu(MenuDTO menuDTO);

    List<Long> getAllRoleId();

    List<Long> getSnById(Long id);

    void saveRole(RoleDTO roleDTO);
}
